package com.BookmanageSystem.dao;

import com.BookmanageSystem.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by hxw on 2017-6-14.
 */
public interface UserDao {
   User login(@Param("user") User user);
   User getUserByName(String userName);
   Integer register(@Param("user")User user);
}
